
#include "Base.h"

#include "Material.h"

namespace CasaEngine
{

	/**
	 * 
	 */
	Material::Material() :
				m_pDiffuseTexture(NULL),
				m_pTexture1(NULL),
				m_pTexture2(NULL),
				m_pTexture3(NULL)
	{

	}

	/**
	 * 
	 */
	CasaEngine::Material::~Material()
	{

	}

	/**
	 * 
	 */
	Texture *Material::GetDiffuseTexture() const
	{
		return const_cast<Texture * const>(m_pDiffuseTexture);
	}

	/**
	 * 
	 */
	Texture *Material::GetTexture0() const
	{
		return const_cast<Texture * const>(m_pTexture0);
	}

	/**
	 * 
	 */
	Texture *Material::GetTexture1() const
	{
		return const_cast<Texture * const>(m_pTexture1);
	}

	/**
	 * 
	 */
	Texture *Material::GetTexture2() const
	{
		return const_cast<Texture * const>(m_pTexture2);
	}

	/**
	 * 
	 */
	Texture *Material::GetTexture3() const
	{
		return const_cast<Texture * const>(m_pTexture3);
	}

	/**
	 *
	 */
	void Material::SetDiffuseTexture( Texture *tex_ )
	{
		m_pDiffuseTexture = tex_;
	}

	/**
	 * 
	 */
	void Material::SetTexture0( Texture *tex_ )
	{
		m_pTexture0 = tex_;
	}

	/**
	 * 
	 */
	void Material::SetTexture1( Texture *tex_ )
	{
		m_pTexture1 = tex_;
	}

	/**
	 *
	 */
	void Material::SetTexture2( Texture *tex_ )
	{
		m_pTexture2 = tex_;
	}

	/**
	 * 
	 */
	void Material::SetTexture3( Texture *tex_ )
	{
		m_pTexture3 = tex_;
	}

} // namespace CasaEngine
